package cn.edu.scau.cmi.luodongmei.abstractFactory.factory;

import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PICCDamageInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PICCDeathInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PICCInjuryInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domain.PICCMultiAccidentInsurance;
import cn.edu.scau.cmi.luodongmei.abstractFactory.domainAbstractClass.TypeOfInsurance;

public class PICCFactory extends AbstractFactory {
	@Override
	public TypeOfInsurance createInjuryInsurance() {
		return new PICCInjuryInsurance();
	}
	@Override
	public TypeOfInsurance createDamageInsurance() {
		return new PICCDamageInsurance();
	}
	@Override
	public TypeOfInsurance createDeathInsurance() {
		return new PICCDeathInsurance();
	}
	@Override
	public TypeOfInsurance createMultiAccidentInsurance() {
		return new PICCMultiAccidentInsurance();
	}
}
